gnttab: remove pointless NULL check
authorJan Beulich <jbeulich@suse.com>
Tue, 17 Apr 2012 13:05:05 +0000 (15:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Apr 2012 13:05:05 +0000 (15:05 +0200)
commit55fb80266efe5583fe34ac62a93cee55bd30a44b
treeaa28825415e1de08e9e9eb6e5baf81379070208c
parent8eee0a1a5f73085467e4a5e8ada94a3d9599cb4d
gnttab: remove pointless NULL check

Domains in the domain hash (and hence locatable via the usual lookup
functions) can't have a NULL grant table pointer; no other function
performs such a check, so remove it from gnttab_prepare_for_transfer()
for consistency.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/grant_table.c